package at.sternwerk.domainfinder.data.xmlrpc.types;

import java.util.ArrayList;
import java.util.List;

public class IntegerElement extends Element {
  private static final long serialVersionUID = 428219015858884108L;
  private Integer value;

  public IntegerElement() {
  }

  public IntegerElement(Integer value) {
    this.value = value;
  }

  @Override
  public String toString() {
    return "" + value.intValue();
  }

  public Integer getValue() {
    return value.intValue();
  }

  @Override
  public List<Element> getChildren() {
    return new ArrayList<Element>();
  }
}
